moved Analyzer code to new class