moved mesh addition out of object and into mesh renderer