Moved web server into main process.