Overhaul most code and update everything

Cleaned up everything and removed a lot of crap.