Implement simple text viewer