Program main logic.
Arguments passed at the command line.
zero on success, non-zero on errors.
See Implementation
Program main logic.