Initial implementation of gen-db-table command.  Needs tests and friendly output.