Application entry point now in class Main.