Add command line parsing.
Add min and max message length.