Update Analyzer.py and db

Segmentation class completed, started Analyzer class.