Added base xhtml file + Mayor changes in extractor.py