Integrated GPS code.

Don't know if it actually works completely, as I am testing in a
location with zero visibility to sats.