updated to new structure
implemented treeStrategy
implemented cleanup and basic test
implemented isValidTest