Battery management system structure