moved MergeSection and MergeSeries classes to main.py