Build the database schema and page templates.