Mod linked list interface

This PR adapts the linked list interface to fit in the layer model described in issue #103.