Added code file and xml file

all written last week and working