add registers class