new version of brushless motor class
bugfixes