Adding create_resources function for plugins

Enables further use of Hiera