Moved md out of it's own project, and got rid of the obsolete global gMD