removed dead code
made mesh follow data oriented pattern of other collections