Template init
Added overlays and the ability to change images.