remove material reference from object class

material info can be fed in during rendering. object is merely the
placeholder for buffer object