Implemented fetching data, splitting by classname and removing media