Update object-oriented implementation

Use instance variables instead of passing variables to methods
Update documentation of iff_mesh.py