Improved documentation.

* refactored output module to visualize.