core: start to redesign configuration