removed motor functions in header file

functions in header file is going to be moved to .c file