Split out web.Server and its methods into server.go

Also, add helpers.go to store the helper methods