service class working. basic service for location