common helper classes for mpd