add comment and fix some code structure according to the pr
add comment and fix some code structure according to the pr

openatx/facebook-wda,wwjackli/facebook-wda,wwjackli/facebook-wda,openatx/facebook-wda