Create Main.java

The main java class gives a timer to the splash screen.