Feature/endpoint

Added Endpoint object