Store scores in DB instead of calculate on the fly