Add simple writes using a payload.
Merge pull request #40 from mdx-dev/write_payload

Add simple writes using a payload.