refactoring
"ChatServlet" and package "api"