Robot functions via api

Expose robot commands to the RESTful api