Tensor Product Production System: a Modular Architecture and Representation