import resources and templates