Moved everything to the main class

Because I'm dumb.