Functionality to add Endpoints and Sensors