separation of shared elements into a core submodule/subdirectory