Documented code and cleaned up puppet-lint errors