automatic config file creation if it doesn't exist, fixed serialization with pluginManager