Changed debug mode to false
Updated methods to check for processed site content; updated wite_html() to use re.sub() instead of .replace() for the file extension; implemented write_index()