added controller and router templates