Move routers for CLI and HTTP to respective namespaces
add method signatures for console lib