public void startParsingClass(LogGatherer gatheredLog) throws IOException, GitAPIException {
      
	   
	   parsedClass = gatheredLog;
       currentLineNum = 0;
       createdClassObjects = new LinkedList<Tower>();
       blockCommentHandler = -1;
       methodHandler = -1;
       classHandler = -1;
       classFinishes = 0;
       classCreated = false;
       lineInMethod = false;
       isConstructor = false;

       if(allAuthors == null) {
    	   allAuthors = new HashMap<String, Author>();
       }


       int codeLineNums = parsedClass.numLinesOfCode();
       for(int i=0; i<codeLineNums; i++) {
           currentLineNum = i;
           currentLine = parsedClass.rawCode(i);
           parsingCodeLine(currentLine);
           
           // used to solve the exception problems
      /*   System.out.println(currentLine);
           System.out.println("LineInMethod: " + lineInMethod);
           System.out.println("Method Handler: " + methodHandler);
           System.out.println("Class Handler: " + classHandler);
           System.out.println("Class Created: " + classCreated);
           System.out.println("blockCommentHandler: " + blockCommentHandler);
           System.out.println(" "); */
       }
       
       // parsing test
       int check = createdClassObjects.size();
       System.out.println(check);
       int a = 0;
       while(a < check) {
           Tower theClass = createdClassObjects.get(a);
           System.out.println("Class Name: " + theClass.getTowerName());
           System.out.println("Package Name: " + theClass.getCityName());
           System.out.println(" ");

           LinkedList<Floor> methods = theClass.getListOfFloor();
           int methodSize = methods.size();
           
           for (int b=0; b < methodSize; b++) {
               Floor theMethod = methods.get(b);
               System.out.println("Method Name: " + theMethod.getFloorName());        
               theMethod.printOwnerships();
               System.out.println("Method access type: " + theMethod.getAccessType());
               System.out.println(" ");

           }
           a++;
       } // parsing test end 
   }