Added sequencer class for handling sequencenumbers