Added .swp files to gitignore.
Removed unused template file.
Switched to NDB.
Simplify the transaction types and fix the balance query.
Update allowance cronjob description.
Fix timezone handling and key references.