Modified Createorder class and add changes