changing type of MainContent.finalLocation to string
implemented mdDir, htmlDir, mdDirRec, and htmlDirRec