Fix #1: Move port number to configuration option for environment, fix fs.readFileSync syntax