Adapted the main classes to evaluate the system in topic abstraction too.