Eliminate core submodule and make the path to core configurable.