Added Clear command in OOP