Adding config for cron and processing queues, also setting up rest end point for reciving ticks from cron