add working pagination
fix pagination
creating hierarchy names to allow the use of facets