Solved issue in load() when THEME not defined

Missed a DIRECTORY_SEPARATOR
Whitespace fixes

Nothing here, really. Just indentation & newline changes
Moved core classes into submodule

Core classes are now linked, but independent from main repo.