added a function which creates struct member assignments according to a feature selection from a .config file