cleaned up and added javadoc
revived Graph class for ant storage