Added time rep class and cancan example