Multiple changes

- Fixed a problem in manager.
- Added new function adapters.
- Added a new example.
- Minor update to the rooms example.