add io functions and functionpointer types module
use io module
add file io to intset
start to remove encseq from n_r_encseq - use intset