libraries and code example for GPS