Made schedule manager use device manager to get information on devices.
Merge remote-tracking branch 'origin/master'