Added xd documentation and deleted duplicate files