Added new motor implementation, to replace the old one.