separating EventEmitter and replicated entities

done for Repo