Initial refactoring of shaft to start separting concerns for req/reply patterns. Started skeleton of cli_echo.