Move output stream to its own class file