fixed bug in data exchange. Added some other intitial files