initial working version of settings merger and validator