new image class and controller complied