Do not call exit from within CronArchive class.
Add main() method to CronArchive to call individual methods.
Refactor console application entrypoint so  is not read from directly.