further refactoring, seperated view from repositories for league and tournaments