add ierarchy to categories, add simple pagination, add some buttons