Move submodule classes to core folder as they are basic dependencies of the framework rather than extras