initialize backend from main