Refactored line break formatting based on standards
Added ViewType enum for viewing selection by user