Added the DbData class.

DbData holds the connection to the database, feeds SQL to it and can
re-execute the (a) previous query with different columns and rows in the
output while leaving the underlying query. Essentially querying the query.

The try/catch block around the main command loop has been moved into the
loop so execptions don't break the loop and the program and continue.