exposing routes to the client side by groups. first draft on static handler.