Plugin lib

Seperation of IDE support from plugins.