Add adapter hub

To avoid hard-coding references to the adapter classes, a hub for the
adapter package is created. Also, the example code is updated to use the
new shortcut.
Merge branch 'adapter-hub'