Connected the CreateCD to the database