Add support for config file.
Fix index value being 1 too large.
Add command for deleting database.
Merge branch 'master' into config
Return Map instead of tuple.
Remove debug stuff.