-added tests
-remove unused files
-code reformated
-added ip restriction for hiera-call