Separated sequence module from cgkit 2.0