multiple motor profiles part1

added function pointer. needs to be compiled and tested.