Reimplement server as a flow

This removes the old hooks for website.start/stop.