Add default scopes and sorting + relationships between objects