Integrability of Dynamical Systems: Algebra and Analysis