Removed ResourceKeySubscriber, refactoring

AddResourceKeySubscriber is not neccessary since ResourceRepository sets key for newly created object.