Files with large number of lines of code was raised here: https://github.com/GeoscienceAustralia/DynAdjust/issues/52 ... and I am reopening this issue. The key aims of a refactoring to reduce LOC are: - Reduce code complexity - Enable better unit testing