Main code and documentation for the Controller Example that ships with OpenSim