Add secondary actions --version and --help
Add secondary actions --version and --help

Restructure main function to facilitate handling secondary functions and
implement --version and --help.

harski/procwait