Plugin system

Plugins loading is now optionally dynamic, but
static by default.