split images and pdfs into two classes
added images manager and pdffile manager
fixed absolute_url of pdf file