Added GET for "/" route and GET for "../snippet/:id" route.