First try at modificating the interface

Signed-off-by: Axel Davy <axel.davy@ens.fr>