Fix urlPrefix for optimizer-async and config cleanup
Added more documentation and fixes for the optimizer-cli sample