renamed msd.h to msd.cpp, updated includes