Added files as references, added some globabl variables in the game.ts