Issue #4 - added basic Game declaration, moved all other declarations
inside and updated code generation to match