Performance Tuning Classes For Python Example Main