refactor submit/worker code
factor out some logic from `submit_request`
further `submit` module cleanup
add a new `score` table to store leaderboard points
add and update the score table
use score table for leaderboard