Finished tree refactoring, need to implement vector converter still.