demo app should now return correct protocol and port number for service urls, added some functionality to the demo commands