Add (ping, main). Routing, vars in template