Main application for Java school