started writing the code which actually builds the html files