pasted the code into files. This is provide a starting point