Extracting models and repositories to separate projects