Move trilateration to server