Main.class - finished. Some fixes.