Remove unused constant.
Move the plugin resolution bits out into a new project.
Remove unnecessary interface.
Move some classes around to better package spaces.
Improve the package spacing of the plugin use classes in core.