Remove unused member function
Separate TFactor and Factor classes.

Rename TFactor to GenericFactor. GenericFactor.cpp is empty for now.