remove unused require
add help
clean up code
add code doc