added api commands for speed and stop
various structure improvements
restructured robot api
simulator enhancements