moved 'analyze_data.py' to subcommand 'hwrt analyze_data'; refactoring (analyze_data.py)