Add basic mesh functionality