Enabling the PORT and APP_URL to be specified separately (issue #1).