Do some optimize
1.log printing
2.optimize code style
3.optimize naming