1) support multiple hadoop version
2) add a shell script to run test
clean code