Change log path to CWD, bring back port option.
Changes for hardcoded path of config.js, make tmp path OS dependent.
server.js use config.js port number