Added Add command in OOP format.