Fixed GAE rewrite. It now uses google app engine ndb storage.