Refactor to meet lastest Puppet module standards

Remove unused parameters, added tests, updated documentation