Implement cfg_data to data_structures

It is important to notice that this class will be the father of most others,
which means she will change a lot.