Add Motion examples

Really `self.id` should be changed to `self.index`.