Refactored Session::processCycles() method to utilize queue objects for feeding phases into the cycle parsing logic.