Mod linked list interface

This PR adapts the linked list interface to fit in the layer model described in issue #103.
How could this pass the pre-commit hook, there are missing spaces around `=` here!?