added example template.js file, and started work on file that will read from the api, thinking that the api will send links to to documents