Updates to configuration management

Fixed Plugin folder creation, added api for creating/reading/saving
config files. Fixed Mark’s saving procedure.