Use globals object for shared stuff
Create function for newGame
Use globals object
Add globals module for shared objects