A simple modular back-propagation infrastructure