Created framework for linking to a SQL database