shortened Controller var name, changed createImgWithClass call to follow convention