Added utility classes to provide input and output streams