Split webserver.go to two separate files.