formatting classes

so i can use inheritance better and add the game object class and update
thread