added some readmes and re-indented the code