Split files and make things work

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Add license and readme files

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>