refactor code to do register interest for gene and phenotype (using
generic code)