Moved media handling to MediaHelper, implemented thumbnails