Mod linked list interface

This PR adapts the linked list interface to fit in the layer model described in issue #103.
typo here "may crashed" -> "may crash"