Adding core as submodule