Add documentation for various interfaces (#54)

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>