To have classes run when the IDE starts, you can place classes under the Startup node in the Global Options window.

Create the class in the Explorer, right-click on its Explorer node, and choose Copy from the contextual menu. Then choose Tools | Global Options from the main menu, right-click on the Startup node, and choose Paste | Copy from the contextual menu.

This technique can be used to customize parts of the IDE.