sys.args processing converted to argparse. Logging is now working.

Fixes #12 (argparse).
Fixes #9 (logging).