Added main .java file