Use the template system

working
Removing hardcoded URLs in templates

working
end of part 3 of tutorial

working!