Refactored into multiple files. Vertex and Face immutable types replace tuples.