move ebay into lib