Implemented sequencing layer

Part of implementing #15