Main Game ported to coffeescript