completed loading schedules and devices

the basic structure for loading schedules and devices are done. devices
as actually optional for management running the service live since they
are stored in the database but the are loaded for maintainence purpose.