A PHP class to generate HTML elements programatically