Run through perltidy and refactor code via re-order of subroutines into alphabetical order