add graph message support. Shasha & Zhihao

Resolves #7