split Config cod in .cpp