add core as submodule