add template and assets