Reading from Handsontable and modularising all the html templates