a flask server performs the api search and returns json to the client.  removed extraneous reveal features e.g. pdf export.