Library to access to storage media devices