small refactoring and adds image model for image links added in backend