Changed GPS backendfrom writing to a file to the DB