Adding commentaries.
Removing unecessary functions.