integrate reader and graph from GCViewer project