moved cron class initialization into entry php file