All these features are provided by the IdeManager, which can be obtained via
IdeManagerAccess class:
IdeManager manager = IdeManagerAccess.getManager();
This package also contains two very important interfaces named IdeScript and
IdeStartup - they define the handler used by Together to run the scripts and to pass
information about the current selection to them.