Game State work

add game state functionality to game engine core