Created LevelState super class

also moved all the key event handling code into player class