When my second child (a girl) was 2-3 years old she was in complete control of our house. Nothing I tried worked. Finally, in desperation, I ordered 7 books on parenting from Amazon one day. The one that helped me get back in control of my daughter and my house was called "Parenting with Love & Logic".
For my daughter, what finally worked (from the book) was giving her the choice to do what I needed her to do, either with a swat, or without a swat. So if I needed her to put her coat on, or stay in time out, or stay in bed, I would say, "You can either stay in time out with a swat, or you can stay in time out without a swat. Which would you rather do?" She tested me only once, and received one swat, and I never had to give another one. A bit later, after she was under control, I could offer other incentives instead of the swat, like taking away a toy, or taking away a privilege. One thing I learned with her though, was to never, ever bluff. If I said I was going to take a toy away, it had to be one I was willing to part with, but if I gave her an inch, she'd take 3,000 miles! :)
Good luck!