Clamp length to integer.
Factor out SimpleMonoDriver
Move SimpleMonoDriver to module from demo