Code review: Reorganizing code. Finalizing cron scripts.