Initial commit based on dynatree extension