removed ancestor queries, using logging.exception when logging exceptions instead of logging.info, fixed typos, using ndb instead of db, and documented db models