Move the @tree class to its own repo.

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