moved typesettings/primitives into typesettings/compileflags, and moved typesettings/compileflags.h into the root directory