Backed out MidiDevices class.
Making systemtools.Media more robust.
Renamed systemtools.Media to Library.

Renamed media/ to library/.