Modularize and add `box version` command.