Mod linked list interface

This PR adapts the linked list interface to fit in the layer model described in issue #103.
Somehow the hook doesn't work.