refactored BuyItem to return a bool
Added BuyItem API call