* replace $(GBS) with gbs3 in README.md.
* refactor code-gen.
* factor command handling.
* show the progress of apt-get install.