Refactored TreeFetcher to use Actor so that it is completely asynchronous