extracting rest services for Data to DataController