Fixed bugs and finished main

Fixed some bugs preventing drawing to the screen
Finished main and game class, game now works