Start refactoring backends controller