Add support for env backend and new -backend flag
Add docs for env backend