added classes for graph
updated README