added media and playlist classes