Refactored LIFModel class into abstract base LIFModel and derived LIFSingleThreadedModel.