Added location services class and Proxy/port management.

Added location services class and Proxy/port management.