Fixed the output rendering
refactoring
refacroring
Added yard documentation
Added some YARD documentation
Added some comments