add ResultPage  and ResultEntity classes