template and controller added

template and controller added