add html generator (but does nothing for the present)
introduce generator