made MediaLoader class independent of the graphic parts, and make it only do its work, meaning load the media