updated CCIE to choose best response and got connection to sqlite db closes #23.