Streaming support added
closes #1