Mapping Nearby

- Adapt to the new scenario
- Fix statistics func bug
- add grammers and functions