Refactoring to tailor the web server more to the project needs