Terrible twos😭

My son turned two this month on the 4th and ever since has been acting terrible. He has gotten to where he absolutely will NOT listen to me (and before somebody says oh he's just a toddler. He knows a lot more than most at his age and he knows better than to do the things he's done.) I've tried time outs, I've tried simply explaining to him, it's even gotten to the point where I have spanked him but not even that affects him in any way. I have been consistent with it and it isn't working. He throws things (including little toddler chairs he has and almost messed up our tv) he hits, he has a BAD attitude. Oh and he's been staying up every night, all night for the past week and has kept everyone else up in the house as well, including his two nephews who started back to school this week. I just don't know what to do, I'm a first time single mother, and I just feel like there's nothing else I can do. I've tried absolutely everything!