Make db name a flag
README change
Code tidy