use curl to install module, so that it will have less dependency to client
remove junk files