Started implementing graph helper classes