seperated node and linkedlists classes