Refactor webserver code