Added in menus, refined rendering, refactored code

Added in game menus and massively refactored the code to make teh game
more scapable