Move all output function into Output class

Additionally add right output :)