Statistical Learning Theory by Vapnik, Vladimir N. You will find that this textbook uses a modular structure for flexible learning.