Split games.coffee into three files