Modeling, Simulation & Implementation Of Li-Ion Battery Powered Electric And Plug-In Hybrid Vehicles