simplify the servlet, and document  java doc