added files and templates classes to load resources.