Added support for location library, resolves #12