groundwork for cli vs http router