Fix running a main class have to be first class