Added interface IPage and etc classes