adds branch switching support and removes deployment environments