added stop api and proxy