Added add and remove reference function for vertex buffer objects