Separated control from view in RepositoryGallery. Created RepositoryManager.