Began conversion to use optparse-applicative