Add command pattern for buying items in marketplace