Move base files of core submodule to main repo.