Starting scheduler functionality