Adding `Context` class, replacing BufferManager with PageManager