Added set_pin_mode to Endpoint
Add set_pin_high and set_pin_low to Endpoint