Add todo sphinx extension and substitute inheritance by graphviz

Change-Id: Ifb854b021fa17a563a601f5c7e0afedeb90187bc