added factorer class.