Changed game to a state based structure and added new menus and documentation.