Persistence theory as source of new invariants in topology