add doc type
views and a grapher thingy