start on database commands, make default db a cmdline option
add dump command, change iteration mechanism
add database export and import commands