Added type "Unit" to all procedures, in place of abbreviated syntax, which is (or will be) deprecated, using Idea shift-cmd-alt-I feature.
Added type annotations to public methods
Updated pattern matching case statements to use constructor syntax where possible
Replaced while loops with private method and recursion
Replaced String remote Git repo path with URI
Replaced String path parameters with File path