add config via json, more readme, bin