fix some small mistakes
clean code
step3 completed
upgrade git ignore