Added the DBConnector code