Added Smarty code extractor and js and php generators