Create XMain.java

main class