Sequencers Unit Testing and Refactor interfaces

This supercedes PR #32.