Add factory for repositories and added that to the seed file.