Add main function for CLI.