Created Register class