Multiple changes

- Reorganized the any_manager implementation.
- Added a new example showing the usage of any_manager.