Port the plugin system from the previous code base. Still unfinished however.