Added Footer Template File

Added the footer template file and called this from index.php and
commented some functions in other committed files.