Total Refactoring of Web Application