Set up databases for survey