Added new constructor and method to add /remove pages