Engineering Multifunctional Separators And Electrodes To Improve Battery Safety And Lifetimes