Add registerRepositories method which let you register multiple repositories