Adds a few more comments and improves code quality.
Updates prod resources.