Insprired on flask-restless and sqlalchemy api wrapping for tornado