This will eventually send the curves to a db. At this point all we have is code to create a new or open a connection to an existing database.