The young man at the heart of a teenage drug gang linked to the death of a York 15-year-old boy has been jailed.