A simple http routing API