Merge pull request #36 from bartekgruszka/dev-refactoring

Removed ResourceKeySubscriber, refactoring
Refactoring of Repository