quietlyleaving, here some good readings on this complex topic:
Martin Noth, The Deuteronomistic History, Sheffield, JSOT Press 1981
Roger N. Whybray, The Making of the Pentateuch: A Methodological Study, Journal for the Study of the Old Testament Supplement Series 53, Sheffield, Sheffield Academic Press 1987
Herbert Wolf, An Introduction to the Old Testament Pentateuch, Chicago, Moody Press 1991
Antony F. Campbell, Mark A. O'Brien, Sources of the Pentateuch. Texts, Introductions, Annotations, Minneapolis, Fortress Press 1993
Ernest Nicholson, The Pentateuch in the Twentieth Century: The Legacy of Julius Wellhausen, Oxford, Clarendon Press 1998