Code clean up

unused code and comments deleted && credit given in head of the files
Merge pull request #7 from mikecarey134/master

Code clean up