Removed pubsub from library. Refactored comments in all modules to have less lines where appropriate. Removed console.log statements where appropriate.
More comment editing.