modified analizer.py. All analizer methods  moved to class, shared variables purpose
implemented write_statistics method