Upgraded dependencies
Cleaned up namespaces for readability
Added mimetypes for images; cleaned up namespaces