converts the dbcreator to singleton