nsqadmin: refactor to support config file