added main location service based on gps and network listeners