Added base game object class
Abstracted code