experimental refactoring of commands (that are under cmdlets)