Working on integrating mesh class