add ConfigurationServlet, refactor and remove unused classes