Set baseUri from environment (not hard-wired)
Add debug endpoint
Use HIDE_PORT switch to hide port in base URI