Big clean up and reorganisation

Reorganised the file structure in preparation for the windows project.
Deleted a lot of files that were not being used.