Fixed some pmd violations
Fixed pmd in main
Added suppress warning for pmd cyclomatic complexity in character
Continued pmd violation removal