DataRetrieving Service Implementation and Bug fixes