Refactoring Command to use sub-package
Improve Write Command for use selection