flush instead commit and then commit once at the end
refactoring
Merge pull request #1 from chidoli/gae

Gae