Added cron job, organized hooks, actions.