refactor: Splitting functionality in different files for proper testing
- Renamed data_store.js to data-store.js,
- Added scoring.js and sorting.js files,
- Also refactored the tests appropriately.