Added the main module with command-line parsing.