removed a factory method(which returns this classes object)of this class  and static variable(Constant) containing object of this class