Add license information and fix spelling issues with database.