Feature/image upload refactoring

I need a migration script for already uploaded image files. Without it admin panel will not show the images.