Combined the databases and have a basic query.

The three databases with one table each have been combined into one
database with three tables. The main screen has a simple database query
test implemented.