add infos in readme
use interface instead of objects