ndb.model initial implementation