Split build service in 3
buildTree service is now a factory to create build trees