Initial version of sample code for the ndb modeling article.