2 upload and view media

adds pages for viewing and uploading media
adds media table