etched out lib and added critical files

added CSS.php for the dynamic css and Element.js which facilitates
generating html on the fly with JS.