Struts for a tornado server with pymongo