DLL and model setup