Added start command for cli-server
Added rewrite option in cli-server mode