[core] add class to manipulate pais of objects