use ctypes to load NNF DLL