change orddict to ets, refactor process requests