add static resources and templates resources