Create MAutorunClass: you can extend this class and implement the only one abstract method (run()) to create an autorunning class.
The run() is the entry point method.