refactor datafile_factory mechanism that removes register_library method from adcontrols.dll