added progress in task info and minor syntax fixes
implemented shutdown methods

added api server port to master config
fix master config load default

fixed api not using config to get listen port