Added support of images in template.
Finish first lecture.