so if I would like to allow my end users embed dynamically resources
Why do you need to provide a way for users to embed resources?

Do you really want to force your users to become programmers just to be able to use your application?

Are your users going to redistribute your application after it has been changed to include their custom resources?

Why can't these resources live on the user's own hard drives somewhere and simply be dynamically loaded by your application?

Are you confused about how to implement something that lets users define their own resources and use them in your application?