Game states and GameObject

Introduced game states and created a GameObject class with position and
size