Sequence

Refactoring sequence package finished. Makes master branch better structured.