clean servlets and made some utils.