Revert "add Main.java"

This reverts commit 31c5a4da0d6428fae0bcaed0cd792562aefba740.
Revert "Revert "add Main.java""

This reverts commit 3c8ee594cc6fecc869caa64c22aae7f48e1b7f54.