--changed all web client references to be relative and all server api calls to use the top level module to get the hostname and port