add helper & pose graph class