Add dumpdb and resetdb