Sample functionality work as expected.

WaveForm 'source' attribute has been removed.
Sample class added.