added page controller and activitview for images