Lots of work on db_reset, including an exportable text file archive. Added app.keys to make them consistent across modules.