Set up database and changed pages to load text from db.