Moved all output methods to an output class interface from cli handler