Function DllMain() moved into separate file.