Add a command-line argument for config file, reject invaldi JSON, change default port to 4000.