Major implementation for location awareness