Advanced fabrication approaches to controlled delivery systems for epilepsy treatment