documentation

Fix documentation and example code.
Added top-level interfaces module.
Added grok hint.