Attempt at Database Initialization

My initial attempt to open the database and then figure out how to pass
necessary information from the database into the javascript graph in
the webview.