Massive overhaul on plugin and config loading systems