Remove libscheduler dependency in master