Revert "Created repository model"

This reverts commit e5b5c18c912247bc856c71166a125b9d04ceefd1.