include a proper command line parser, also clearing up the hackish way the installer was invoked, and adding automatic help