save pages, urls and sentences in db