Moved core classes into submodule

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