moved parsing of pages in separate class
Completed search functionality