Creating schema using config - BROKEN