Single entry point for initializing DLL