refactor service into factory
create dataset call to backend , debug WIP