SW: Added support for up to 12 cells. Split functions.

- 12 cells can be discharged
- Functions printing debug messages split into separate instances.