Useful refactoring.. configuration cleanup, servlet cleanup and better response handling on method not supported exceptions