Unbalanced Urn Models And Applications