Using `metadata` structs for `sync` and `buffer` options in JSON format, #107.
Added `Graph.AddGraph()` method for #11