[issue #37] Implement output buffers
Merge pull request #43 from dim-s/issue-37/output-buffers

[issue #37] Implement output buffers