Implemented location module.