added new.cpp/h to fix __cxa_pure_xxx linkage errors