Remove unused import
Implement priority provider
Implement schedule provider (currently backed by xml file, if performance problems are encountered, alternatives like MapDB should be considered)