Clean code

Signed-off-by: Stéphane Depierrepont <toorop@toorop.fr>
Add doc

Signed-off-by: Stéphane Depierrepont <toorop@toorop.fr>