Replace custom server with npm module

This means I won’t have to duplicate the server code across repos.