Commented Code

Just added a few comments and removed unneeded function. If you have questions about the update please let me know.