Smart Electric Vehicle charging controller