Support for the CR Endpoint

Simon,

I've modified your project to support the CR endpoint and periodic refresh interval. Let me know if this works for you.

Cheers,
--Abhi