Created the raw code, filled in the template files and knit.