moved pre-body and footer material to body.html and footer.html
updated
added body and footer vars, pg_title and author vars, file_check function
added body.html and footer.html