Created main java file