Added a interface for dataservice