[#5] Implement API for pages