Base framework for linked list using shared pointers.