removed main.cpp from dll