Electric Cars: AC and DC charging of electric vehicles