rename vector to list, add reference counters for value class