doc: Add inline documentation to interfaces and controller.

This simply add inline documentation.