Import the class content from mother repository.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Add a .gitignore

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>