Finished implementing the database so that we can retrieve GPS points from the DB