upload refactoring - media and album controllers + simple_html_dom lib a...

...dded