adapted Server to fit current working GPS project