add game state macine and input manager