Update and rename main2.java to MainThread.java

Changed name to MainThread