Refactoring of lheanalyzer_filter.py into several modules.