Added HTMLGenerator class