updates src
adds actions
template-type controller in silex