Adds NewInstancesRoc.java and mades few changes