Smart charging solution to electric vehicles challenge