Removes unecessary code
Adds cron job management. Closes #748