move Location Provider code out of Server