new motor controls and makefile