Add template to resource manager
Add resource bundle support to resource module