Smart Energy Management System: Intelligent Control for Efficient Power Use