big changes in the game mechanism

added a gamestate class for holding the different states of the game
startScreen,inGame,Menu,Endscreen etc.