Update to Flow 0.4
Merge pull request #31 from square/ray/flow-changed

Update to Flow 0.4