Create game.lua

added re factored main game code