Refactoring the backend project to re use the Repositories from common.