Added GPS thirdparty code
Improved caching