Refactors Repositories to their own package