Factor out commands implemented via the REST interface
Add a -version command to weave and weaver, implemented by embedding the build date by the makefile