work in progress on interrupt based motor control

work in progress on interrupt based motor control