Added main java file