Add EndpointFactory which is responsible to create new Endpoints on demand