Updated to use database for storing/displaying scores