Adding core logic and ir.cron