Api mods

Modifications in the API to match the paper. Mainly Stream operation consume and produce. The examples also changed accordingly.
I was waiting for Li's confirmation. I will remove it from both the vnode and the derflow.erl