new lib
“addMedia” view
bit of refactoring
add media bits