Fundamental Components of Deep Learning: A category-theoretic approach Preprint in arXiv (March 2024)