Refactor Cli and dispatch process