refactor lient classe in stores/http