Converted page module with new pagination lib