Create MainClass.java

Unfinished, will keep working later