Created TextOutput class