GitlabRepository Model and Controller Refactoring