Refactoring

Created SequenceHelper.cs to start moving all sequence generation to a
reusable location.