Refactors pages list & prepares filters