Implemented RegisterServlet and provided comments for BaseServlet