Electronic cigarette roller?

All you would need is a motor and a switch. All the work would be in the actual physical system. What exactly would the arduino do?