I don't think starting with XYZ and color matching functions is a good idea. LMS and cone response functions are a more fundamental and intuitive description of human color response, so if you're going to bother with XYZ at all, you should arrive there from first principles, via LMS.