Added Privateer::Errors module for custom Exception classes. Added thread-safe locking for product count retrieval and caching.