Tree classes added. Not finished yet. Partially tested. Not used yet at tracker.