updated other bits of code, removed the functions on the game namespace