Added MediaItem class and uploading button