Implementing new page classification algorithm