bah
Not working fully yet but major refactorings done.
Refactoring working. Still needs improvement. Loading levels from tiled seems to work perfectly.