Code refactored; inde.html file is now handled via ElementTree