refactoring of package names for consistency
image mime types are now set automatically. Although this is a bit of a hack.