added image handler class