move common code to yarrrconfig