I\'m working with inherited code that\'s split up into a ~50 line main function that calls a subroutine, and the subroutine that is ~900 lines long. What is a good way to go