Made abstract class PricingItem

Made an abstract class for BackpackTfItem and TradeTfItem to extend,
removing the repeated code in them