[setup.sh] rewriting setup.sh, remove unnecessary functions
[setup.sh] add comment
[setup.sh] refine my code
Merge branch 'setup.sh'