split the diagram and tree broker views up into separate templates; lets just use the diagram view for now; its neater
added better filter implementation