Refactored the 3 cron modules for Analytics