createContentObj method added to CreateObj.java file