made server and port options in JSON config