Move server init into handler since datastore reqs require an appengine context.