Updates to gameloop

Gamestate added
Gameobject
And interface