Added beacon caching, location service is now only called when at least
3 beacons are visible.
Added comments