Move the subcommands and FlagSets to a new internal package.
- Add a new subcommand and FlagSet for creating new CV JSON files. - fix: close the file after reading the CV.