edited classes, created main.java