Added Database Tab

This set of changes adds the database tab, and allows all of the DB functions to be accessed by that tab. The code has been working for me now, so I want to get it to the master branch so others are able to test it.