Commenting Code

Added comment blocks that should work with JSDoc