Created register class