Created a new class to handle analyzing