Refactor: separate game from states
Also added placeholder titlescreen.