Revert config/agent to instance variable of ScraperBase, not singleton.
update API documents.