server for the location experiements. thanks to @betzerra for the initial code