LPS-32637

New implementation, Document and Media logic is now move to DocumentLibrary component based on comments of @ipeychev 

I did also comment the code so take a look so you can see why I have done changes.