Cleaned up code, started on an Analyzer class to run the analyses.