re-structured plugin interface and added documentation to the config parser to get ready to fix it