public static void main(String[] args) {
		
		logger.info("Trains application started");
		TrainGenerator tGenerator = null;
	    try {
		    tGenerator = new TrainGenerator( 20 );
			PassengerTrain pTrain = tGenerator.buildPassengerTrain();
			double commonBaggageWeight = TrainOperations.commonBaggageWeight( pTrain );
			int commonPassengersCnt = TrainOperations.commonPassengersCount(pTrain);
			pTrain.sort(Collections.reverseOrder(new ComfortComparator()) );
			ArrayList<PassengerCar> pCars = TrainOperations.findPassengerCars( pTrain, 40, 80 );

		} catch (OutOfRangeException e) {
			logger.error( "OutOfRange exception in Main");
		}

	}