rails-like routing system first draft