Add unsubscribe action
Refactor code for guidelines
Create RelationshipRepository for custom queries

And move getting relationships methods to it.