Added consumer registration class