HKT: A Biologically Inspired Framework for Modular Hereditary Knowledge Transfer in Neural Networks