Replicaset, and refactoring

1) Replicaset
2) Deleted EventBus
3) Start implementation in-plcase editing