fixes

* split test suite to header in implementation
* simplify test makefile
* use pointers instead of plain instances
* split bt and usb initialization