use go-json-rest and config files