Subcommand support

Also adds support for command line flags for config, user, pass, host,
and port
Merge pull request #2 from jkoelker/packaging

Subcommand support