Refactored to use GLGraphicsModel library.