Added modes to the binary, with the first being cmd, which parses the command line arguments.