Updated cron process and added the app's backend code