Implemented rough location context, works with database.