Added Comments and examples

Signed-off-by: Jérôme Coupé <jercoupe@gmail.com>