Implemented sequencing layer

Part of #15