added ability to process GPX file on server side and return array of coordinates in JSON to the client.