Refactor game parts into seperate files.

This will give people a place to at least start refactoring.