Cleaned interface of solvers for Tree introducing the TreeSerialSolver