Created a basic library for working with streams