Move RepoTypes to its own class to allow cleaner importing