Replace rcp_core with submodule.