add template for the download button
move templates to seperate files