rewrite backends files. Add multiple backends processing