Feature add&Clean up code

Support reading of scores.db