Fix #233

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add missing license header

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>