created library files fofr motor control

created library files fofr motor control