Rewrite command line parsing, add usage

From important changes, -ht option has been replaced with -H.
Changed condition in handling key file. It checks if variable is readable file instead of non-null string.
Manpage needs updating.