added missing frontend image model, small refactoring done