added a new class for pending shipment and removed the code from shipment class