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

Right-click the class's node in the Explorer and choose Copy from the contextual menu. Then choose Tools > Options from the main window and expand the IDE Configuration node. Then expand the System node. Right-click the Startup node and choose Paste > Copy.