Created lib/scraper-utils.php to store scraper utility functions.
Refactored scraper initialisation to 'initialiseScraper' function.
Created 'processItem' function which wraps 'process' function and provides issue handling.
Code cleanup.