Updated main to use RingModel