provide default value for `frequency` pop and move comment
remove intermediate json load/dump cycle and simplify `handle_score`
reorganize submit module and unify function naming
avoid `session` dependence in some `submit.process_*` functions