[ImagEd] change Image class to MVC pattern