Created q_image class