abstracted directory and file creation into a function
updated readme
updated readme
fixed bugs