adding support for leela as a backend