adding PDF Support
some more changes
Some refractoring and Adding PDF Support
changes to offer better presentation of PDF files;Fully working;