Streaming prototype update

Enhanced CoFunction and connectors functionality, refactored examples. Several minor bugfixes.