Modularization of multifunctional energy storage composites (MESC)