Started refactoring
Added src folder
Finished modularising existing code + various improvements
This shouldn't be here
Debugging
Some changes to #includes
Makefile altered
Narrow issue down to writeText function calls.

Submitting for review by author.
trying things
More debugging, game only crashes on exit now
Fixes - game exits properly now
Merge pull request #2 from REPOmAN2v2/Refactoring

First phase of refactor complete