For question #1, this worked from cygwin (unix command line tools for windows):
wget http://<ip>/api/HomeAutomation.ZWave/16/Control.On
For #2, look in Config menu, Programs, there are several in there. Or you can search the forum for .hgx files to find the ones posted here which you can import (or open in text editor to study). Or were you looking for something specific?