Finished print hierarch for classes. Also added stub for aganda plottask functio