Add game code generation model logic.
Work game logic through views.
Default to last used game type.