add main template and static media