Changed layout of game to be based on a function structure as opposed to a file structure.