Added basics of tree formation.
Added dist to repo.