fix commands and debug

- fix discharge test and move it to debug file
- sparate debug commands fron BMC commands
- take out reset command and fix clear command