adding game object and doing some database refactoring