serve: skip random doctest
serve: encapsulate Flask app in server object

Previously we had one app that depended on a single global datasets dict
Now we create Server objects that encapsulate an app and a dict