adjust motor implementation to release 01.00.00 API
adjust examples to new motor API