Added command console option to the command line interface. Create main
module.