Gravar-mail: A modular, closed-loop platform for intracranial stimulation in people with neurological disorders