code cleaning
start modular structure with karyotype
huge reorganisation in modules