Implemented lineages. Closes #9