added motors API
updated index.js and the line follower example, deleted old robot class