refactor consumer
update readme