1. Re-org source codes, follow the original CLI
 2. Copy some codes from the original CLI to here
 3. Remove un-used files