Added some fixes and Made a LoadMedia class