Adds lib/webserver/nginx module and moves nginx functions there.