Supporting modular programming (via plugin system)

tagging @alexandrebodin and @Pierre_Noel to see if they can explain why (because I don’t know either)

As to the structure, is there a specific reason you want them in /api instead of the plugin? (Core-API?)