Merge pull request #79 from chdemko/master

Update examples
Implement abstract writer pattern for DGraph