add template and db