Use Point instead of tuple with (Double, Double) in backend