maint: specialize output formatting using OOP

Move print_section_header and print_name_value moved to separate classes.
We call this functions into the loop and this functions use 'if' to check
format type for print sections and parameters. We use 'If' for every section
and for every parameter. I added classes (Print, PrintIni, PrintLines, PrintSh)
per format type, and use format checking once only.