added removemodel and activemodel in graphicsdevice