Created Sequence class.