An Object-Oriented Framework for the Simulation of Neural Nets