stronger algorithm for finding distros names and reorganized source tree a bit