Text this: Design considerations and implementation of an electromechanical battery system