server.py - cookie-cutter API for retrainable classifier