cleaned + copyright on analyzer.py