Modern Thermodynamics: Based on the Extended Carnot Theorem