add blocking to scheduler in case the previous task hasnt finished when the next is supposed to start
Log when scheduler is running
extract models from controller