Added comments and updates

Added comments and updates and extentions