simplify build.sh, adjust folder structure and change download package from zip to tar