Moved mesh loading to mesh class