Tree/plot import backend complete with tests