initial commit of comp register module.