Add apache class and cron class